package com.ta.gulimall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ta.gulimall.common.utils.system.PageUtils;
import com.ta.gulimall.member.view.entity.MemberEntity;
import com.ta.gulimall.member.view.vo.MemberLoginVo;
import com.ta.gulimall.member.view.vo.MemberRegisterVo;

import java.util.Map;

/**
 * 会员
 *
 * @author tuao
 * @email tuaoo@gmail.com
 * @date 2022-10-29 11:21:52
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 注册用户信息
     * @param vo
     */
    void register(MemberRegisterVo vo);

    /**
     * 登录会员信息
     * @param vo
     * @return
     */
    MemberEntity login(MemberLoginVo vo);
}

